


/**
 * created on 2012-03-21
 * @author  qiujz
 * @version 1.0
 *
 * Copyright (c)  Founder Software (Suzhou) Co., Ltd.  2012
 *  All rights reserved.
 *
 * 
 * ================================================================
 * Change Revision
 * ---------------------------------------------------------------
 *    DATE                BY                   COMMENT
 * ---------------------------------------------------------------
 * 2012-03-21         qiujz                Create class
 * 
 *
 * ================================================================
 */

package com.founder.bm.service;

import javax.jws.WebService;

import com.founder.mh.framework.entity.QueryResultBase;
import com.founder.bm.entity.LoginUserQueryParameter;
import com.founder.bm.entity.LoginUserTo;

@WebService
public interface ILoginUserService {
	/**
	 * 查询方法
	 * 
	 * @param paramter
	 *            查询参数对象
	 * @return 查询结果集
	 */
	QueryResultBase searchLoginUserList(LoginUserQueryParameter paramter);
	
	
	/**
	 * @param userId
	 *        	记录ID
	 * @return 实体对象
	 */
	LoginUserTo getLoginUserByPrimaryKey(String userId);
	
		
	/**
	 * @param loginUser
	 *           实体对象
	 * @return 插入记录数
	 */
	LoginUserTo insertLoginUser(LoginUserTo loginUser);
	
	/**
	 * @param loginUser
	 *           实体对象
	 * @return 更新记录数
	 */
	int updateLoginUser(LoginUserTo loginUser);
	
	
	/**
	 * @param userId
	 *         记录ID
	 * @return 删除记录数
	 */
	int deleteLoginUser(String userId);
	
	/**
	 * @param keyArray
	 *         记录ID数组
	 */
	void deleteLoginUserBatch(String[] keyArray);
	
	String exportData(LoginUserQueryParameter paramter);
	
	String exportDataTXt(LoginUserQueryParameter paramter);
}
